<?php
//DB Created by Rich L. a member in service in Northern Delaware.  Please feel free to share this code wherever it may be useful to alcholoics.  Should you have questons please contact me at sobernerd@gmail.com
//header items
$jQuery = true;
$tinyMCE = true;
$jQueryCookie = true;
$hoverIntent = true;
$Jededitable = true;
$googleAPI = false;
$calendar = false;
require_once ('../../config/include_paths.php');
require_once('config.php');
require_once('functions.php');
$pageTitle = SITE_NAME.' - Administration - Meetings'; //must be set after the config.php include and before head.php include
require_once('dbconnect.php');	// database connect script.
session_start();
if ($_SESSION['logged_in'] == 0) {
	require ('../../admin/security_check.php');
} else {
	if ($_POST)
	{
		$returnTo = $_GET['returnTo'];
		if ($_GET['id']) {$id_url_var = '&id='.$_GET['id'];}elseif($_GET['group_id']){$id_url_var = '&id='.$_GET['group_id'];}else{ $id_url_var = '';}
		if ($_GET['original_page']) {$original_page = '&return_to='.$_GET['original_page'];}
		$table = $_GET['table'];
		processTable($table);
		if ($_SESSION['message'] == 'newgroup'){$newgroup='&newgroup=Y';}
		header('Location: '.$returnTo.$id_url_var.$newgroup.$original_page);
	}
}?>